import { configureStore } from "@reduxjs/toolkit"

import TabReducer from './reducer/tab'

export const store = configureStore({
  reducer: {
    tab: TabReducer
  },
})

export type RootState = ReturnType<typeof store.getState>

export type AppDispatch = typeof store.dispatch